Implemented command line arguments support in program.cpp