How To Find Local Maxima On A Graph