codingbat part 2 submission

Here's the working link: http://lyonsa.github.io/spring2014/2014/02/15/lyonscodingbatp2.html