Correct random ints implementation. TODO: put into helper?
Major refactor to module.exports over $magic vars

Also tidied some problem.txts lacking info.

Closes #9 as suggested by @brianloveswords in #7.