made coor + dist functions

dist function outputs NaN
Merge branch 'master' of https://github.com/stuycs-softdev/submissions