Code solves puzzle. Outputs 'solution.csv' to the current working directory.