a simple implementation of random boolean network.