pieceAt(square) need to be implemented