Refactor code in main and parser files. Implement dimensionality function.
Move readFile() into main and rename to runTSP().