Merge pull request #25 from wingyplus/master

Refactor by use for to loop round
Add test case 10
test 10th pass