Deleted printHelp() function and checking program arguments