Added isLegalForPawn, isLegalForQueen