Assignment 2 - Philip 

Nice, can also use if cases instead of the pattern matching - I have no idea which is more efficient