added basic distance path calculations

based on the nearest neighbor algorithm, it is not optimal but suitable
for testing