Chunxi Zhang 's CodingBat Exercise 2

I have completed my Codingbat.com part 2 exercises. Please review the post here: http://lanblue.github.io/spring2014/2014/02/14/ChunxiCodingBat2.html