How did the Two Headed Snake end up with two heads?
Magic
All king snakes have two heads
The result of a single egg that did not fully split into two embryos
Two snakes ran into each other and got stuck