Moved docs to separate repo. Fixed some issues. Implemented random number generator