Code for my scala course programming assignments