UNSTABLE but bug where equal point is not added to tree is fixed
STABLE: All tests passing. Style check not passing, I think because nearest() is not recursive