Courses_needed table is populating properly now

took longer than it needed