1 min readNov 2, 2016
Hi Malik, I have updated the article with some code to do just that. Sorry to have missed that, I was focused on reading rather than generating since generation is generally easier!
Thanks for the feedback, let me know if this helped you out!