Added pawn function, tested the others

Pawn fun does not contemplates passant captures. King func does not
contemplates check