commit for lambda sub chapter
changed repeating lambdas back into functions, does not make sense
added lambda proc and using let