Functional programming assignments