Implement Random

Had some trouble with random values accumulating when not needed that's why it might look a bit weird. Maybe I made this more complicated than it needs to be. But here it goes... the same functions as Elm's Random.