Assignment 2 - Christine Schubert / Nick Carter

Can also be written as a pattern match. Either way works, it's really just a style thing