converted csv to hash
couldn't make it into the right format of hash
the hash is formatting awkwardly but it is now able to answer the two questions