creating snake