cleaned up final, and minimized changes from tutorial endpoint

Tried to remove changes in this git repo so that it's as close as possible to the endpoint of the tutorial, plus just the changes for the "do it yourself" exercise. 

That means I removed the img folder since it's not used, and I matched the content to my version of the gist.

Unfortunately this involved some whitespace changes, which makes the diff hard to read. Sorry.