Problem 18 and 17 now load their input data from an external file.