Settled for a simplistic higher-than-adjacent-values peak detection algorithm. Includes tests.
pep8 fixes