fuck , hate scala
week5 implement foldRight/foldLeft reduction of list functions