Updated README and made random-code more general to accept different numbers of arguments