implemented getSlopeOfMove & Pawn move method