Goal Reasoning by Selecting Subgoals with Deep Q-Learning