automated course planner based on prerequisites and course history