added code to only consider one path per node pair
Merge branch 'master' of github.com:ctuong/CS244
added writing results to file