Adds nextStateArray

In preparation for trying different combinations of array and case
method. #2