ex1 and ex2 from http://learnpythonthehardway.org/book/ex1.html.
add ex3~ex6
Merge branch 'master' of github.com:zhaoace/codecraft