Finished filtering graph methods

Using the new Treemap data structure, I have made the 2d array pre set
for the TS function.