Start to code second round of leetcode --2014.2.22