Fixed Database addCourse to not add duplicates!

Also removed debug print statements.