Programming Challenge 1 9/29/2014 updated