added methods and tested values, found a way to get the maximum and minimum and discovered how the graph works