Initial snake representation function added