Added Distance Function

Distance function has integrated square root capabilities. If the distance between the points is an integer, it will print the integer. If it has a radical, it would print something like √2 or 2√2.