Classwork for my functional programming class.