Scientists hope the discovery will help show how snakes made the transition from lizards to serpents.