Got TreeSet to compile, need to add interval class