Starting work on chart

Added a big recursive function to find change points for chart.

Hover event is currently broken