Fixed bug for scheduling 5 hour courses; made minor changes to main and genetic loop