Function in Algorithm That Can Help Cartographer To Create Programs