Finds the common ancestor path between two states.
The first state.
The second state.
Returns an array of state names in descending order, not including the root.
Finds the common ancestor path between two states.