Making changes in makefile and main file to allow command line arguments