A-Star algorithm implemented for spaceprobe