Prac: random getstate
Prac random functions