Solution to Day Two, Exercise One.