So starting at index [0][0] (row 0, column 0), we're looking to move right, down, and bottom right (marked with *s):

JAVASCRIPT
OUTPUT
Results will appear here.