implemented Square class completely
implemented Sprite class