Add code to have program print results to command line