added error for incorrect number of pawns