added code to write to csv file
added code to get prices