fixed a typo and a broken link

In the sqlite tutorial, the link to the code 404'd. I fixed that, along with a typo.