Created CornerPiece, EdgePiece and CenterPiece classes which extend the Piece class