Functional programming labs