Program successfully scans in points from input file