nextStates

fun nextStates(state: Int): List<Int>