Pawn class should now be able to detect if a move is legal for itself. Needs to be tested though.