FIXED king jumping
IMPROVED ai endgame