Many change to program

Implementing a rangeTree that will seperate them into different colors.