corrected pawn movements and changed Piece.location to Piece.square