Session 4 Homework

Here's my homework for session 04.  Please review at your leisure.
Since you are using a less than sign, this will actually stop when there are four words left, so to get all trigrams possible you would use 'if idx < len(all_words) - 2:'