To be able to eat other Snakes, you need to bump their heads onto your body. Get them to run into you, and you can collect their pellets when they disappear!