Dam that tutorial is complex, you probably have a better idea than me on how to add to that. I would have to make it myself from the tutorial to work out what is going on, looks like he is using 2 variables to track the uid of last and next created tiles so you would just follow in that trend. There are some snake templates on the store, you could try one of those too.