saveLevel implemented and tested, added functions to IsNearPoint