code: public HashMap<String, HashMap<String, String>> getHashMapDataSet(String keyField)
            throws FileNotFoundException, IOException, NoSuchFieldException {
          parseCSVFile();
          HashMap<String, HashMap<String, String>> result = new HashMap<>();
          for (int i = 0; i < dataSet.size(); i++) {
              String key = dataSet.get(i).get(keyField);
              if (key == null) {
                  throw new NoSuchFieldException("keyField " + keyField + " is mandatory " + "at line " + i + " in the csv file");
              }
              HashMap<String, String> line = dataSet.get(i);
              result.put(dataSet.get(i).get(keyField), line);
          }
          return result;
      }
docs: Return a HashMap mapping the specified keyField with a HashMap of names/values
  
  @param keyField the keyField
  @return a HashMap the hashmap
  @throws java.io.FileNotFoundException If the CSV file is not found
  @throws java.io.IOException If an error occurs while reading the CSV File
  @throws java.lang.NoSuchFieldException If the keyField is not found in the CSV file