Pawn attack calculation fix

Pawn figure was used wrong on the attackedsquare calculation and wrong
variable was used for position