Function pawnAttacks

Gets squares attacked or defended by a pawn of the given color on square.