Assignment 2 - Christine Schubert / Nick Carter

I feel like taking advantage of some of Scala's higher order functions (like groupBy and filter) would help make this a bit shorter.