StateSpace::Neighbors returns a list of States rather than Indecies, and add a few more conversion code between several representatioins.
Specify the size of lists using constructores, rather than specifying later.