Updated class Square and working on class Block