Added Grid and Piece implementations