The function board_legal_moves is working.