Start working again on board_is_move_legal function.