Add generate function and update README.

#1

Sign up or log in to comment