Added gradient generator.

So I can delete the repo created just for that code.