Made object oriented version of CSV program