Changed findPeak to work with a int range and not a list