Bug in Pawn attack generation

Pawn attack calculation was incorect
Comments and fix for King moves

Added documentation for each function and fixed a wrong use of the king
attack generation
Added status for King check situation
Added comments

Added comments and removed old ideas t