added distance coding; this shoudl actually go into init
Merge branch 'master' of github.com:stuycs-softdev/submissions