Fixed a minor bug in King move generation
Fixed a small bug when generating a position bitboard. It would generate it incorrectly by a single piece
Added a check to see if a move put the friendly king in check. If it does then the move is not allowed and the state of currentBoard stays the same.