Code for my scala programming course exercises