Add literate haskell support
Rewrite random number post

- Use actual State
- Different kind of refactor