Assignment 2 - Ellen Hui + Mauricio Molina

Nice use of partition- we if /else if/ else to separate, but this takes advantage of Scala things.