Shuffle function added for rng sub-module in rand.c.
Tests are under construction.