Revert "added Kumar's changes"

This reverts commit 3d9608163ebe502decd81e0677ed6362cddf1199.
Running version

Fixed the final steps to make it running
Fixed bug in reading files from workers
worked on bug

when the worker doesn't get assigned any keys by the master then it
hangs and the program won't continue