[Coursera] Corrected implementation of finding vertical seam