Implemented the king move legality properly now