Snake example now workable