update function made specific application of general function computing the next state given an inputstate
introduction class NetworkState