ch3: foldRight impl w/ foldLeft, and vice versa