Refactoring and pawn attack moves implemented.

Pawns now attack diagonally when faced with an opponent.