refactor traversing function
fix a bug related to variable useage inside nested functions
refactor findUseage
Merge pull request #5 from mehdishojaei/use-ast-more

Separate functions traverse and findUseage, and add some tests.