Add a method for reversing a List that uses foldLeft.

It also operates in linear time instead of quadratic time.