Stopped at the section about finding the 2nd maximum