Encapsulated some code from Board into the static method
BoardState.addTransition()