consolidated hw3 marketsim and analyze into one file; removed passing initial args by command line