slithering snake solver is officially working