Statistics - Mountains and Valleys (CCO20_day1problem3)