public static String displayTableFromSimpleMap(String keyName, String valueName, Map<?, ?> rows){
    String table = "%table\n";
    table += keyName + "\t" + valueName + "\n";
    table += rows.entrySet().stream()
            .map(e -> e.getKey() + "\t" + e.getValue())
            .collect(Collectors.joining("\n"));
    return table;
  }
@Test
  void testDisplayTableFromSimpleMapUtil() {

    Map<String, Long> counts = new HashMap<>();
    counts.put("hello", 4L);
    counts.put("world", 5L);

    assertEquals(
            TABLE_RESULT_1,
            JavaInterpreterUtils.displayTableFromSimpleMap("Word", "Count", counts)
    );

  }