automated course planning tool based on prerequisites and course history