Changed graph offset

The graph now starts at 1 instead of 0 for the array.  This is to more
closely match the problem and avoid 1 off errors later.
Added state logic
Further progress

Almost done.  Just need to track what nodes have been added so far for
the final solution.