Replaced Channels with sync.WaitGroup()
So far I was using channels to let main thread know that all the child goRoutines have completed execution. Today I found out about sync.WaitGroups(). So I replaced channels with WaitGroups. This had a very good impact on performance of the application.
Features Added in this commit
- Logging to file
- Will log all the files it'll encounter during the run
- will log total size of all the fies in the end
- will log total numbers of files it found in the end of the log file