Chunxi's CodingBat Exercise 1

Here is my link
http://lanblue.github.io/spring2014/2014/02/05/ChunxiCodingBat.html