Efficient Learning With Subgoals And Gaussian Process