Properly working jump function and king promotion