coursework for coursera Functional Programming course