handing king moves in king moves
fixed isWhite definition
decreased code size