Solution for Course/List.hs -- only foldLeft / foldRight