added showProgress function
implemented code review#1
Merge pull request #47 from furgalep/progress_info

added showProgress function