factor out pawn move functions