adding snake example