Slithering snake code from summer 2005 - http://pubs.acs.org/doi/abs/10.1021/nl0608386