error case on getDistance
Merge branch 'master' of https://github.com/allantsai123/COSC310project