Started implementing the data structure chosen. The TreeMap.