More than 100 million years ago, the ancestors of the first snakes were small lizards that lived alongside other small, nondescript lizards in the shadow of the dinosaurs.