As requested, a pull request

Here are the changes I posted in the coursera forum.