finish Square class

debug