find intersecting and nearest point
implemented getDistance
use exponent **
test x constant for intersect
bugfix: points were swapped
test y constant for intersect added
test getDistance added
test getdistance zero added
keep naming of test methods consistent
test nearest point added
test nearest point with equal points added
Merge pull request #4 from a012467/intersect

Intersect functions + tests added