Assignment 2 - Johnathan Ashley/Andrew Michaud

I think for these ones we were supposed to use pattern matching instead of if/else. http://www.scala-lang.org/old/node/120 It would be easy to change, though, because you would basically just need to change if/else to case.