added a functions module to allow to get the next step bigraph