Solution to Challenge 2 

My solution to challenge 2. 

On my way to solution to challenge 3.