Shift + mouse click to flag.
Numbers in the square signify the number of mines in the surrounding spaces, blanks mean there are zero.