Assignment 2 - Hayden Blauzvern/Sarah Gilkinson

Yes, recursion or higher-order functions is the standard route. You can do ["iteration"](http://joelabrahamsson.com/learning-scala-part-six-if-statements-and-loops/), though really it's just list comprehension, which is syntactic sugar for map and filter :).