Changed example program to use a GUI.

Deprecated Random.hs. Learned how to use `rec` to induce state in a MUI.