Update course.rb

* Changed some strings to characters
* Removed some assignments
* simplified code slightly