Functional Programming Chapter

also tried OO chapter but gave up