finish Square class

finish Square class