subs_path - make_path()

      14         A   B   C   D   E   F   G   H   I

Create a tab named subs_path. Create a function named make_path()
void make_path(int mX, int mY) {
    declare an integer named i
    set i to find_node(mX, mY)
    if i is 0 or more {
        if cap_ind is -1 {
            // don't declare an integer named index_A
            // don't declare an integer named index_B
            declare a Node named node
            set node to the node at index i in ArrayList nodes
            set the s field of node to true
            set the node at index i in ArrayList nodes to node
            set L_ind to i
            set index_A to i
        } else {
            // to be added in [I]
        }
    }
} //make_path