Peak detection in a 2D array | Hacker News Reader