Got some code working

I am very proud of myself for this.

Anyway basically I can loop an array of values and make an inversed
statistic out of it.

So the chart starts at the top and the higher the value the lower it is
on the screen.

I guess I gotta figure out some logic to inverse the stuff once I
refactor this.