Recoursive solution
Merge pull request #1 from mastersobg/master

Recursive solution