Coursera's functional programming course exercises