Revert "Changed program to take input file as a command line argument"

This reverts commit dcddb6fd5fee0e6ef6804c66d122e790910fa39e.
Revert "Revert "Changed program to take input file as a command line argument""

This reverts commit 687ff4a56d53bf5bb9e11d282ff8dd4a068528c8.