Completed first draft randRegBigraph function

First draft, still needs optimization and better documentation