Added snake

It contains automatic snake algorithm