Merge pull request #4 from badunk/refactor

Some code refactoring and bug fix for empty array
Version Bump
added ability to specify the depth of the recursion
version # bump
fixing formatting issues
merging with version # bump