Modified to print just the symmetric distance column in result file