created global variable for the curves array length instead of using 100 everytime i had to refer to the length
-m "Changed Data class to DataPoint class"