Finished refactoring the pawn moves functionality