Refactored util functions; code works; issues: prints two many times and course-subject parsing needs work