Merge pull request #3 from Show-Me-the-Code/master

update from the Show-Me-the-Code
Add the solution to 0007
Merge pull request #14 from renzongxian/master

Add my solution to 0007