优化精简代码，修改变量名称

# Week II
# Part I
# Author: Kelvin
# Version: optimized_1_0
# Edit time: 2014/01/24