implemented king's turn checking
found and fixed bug in pawn's rules
found and fixed bug in bishop turn checking