Vanan, I believe most snakes exhibit this behaviour... One of our boa's figured out how to open her cage... she kept opening the door over and over. we had to install locks for her.
Trevor: There was a study on snake learning, and it was found that most don't respond to mazes well. why? because they're ambush hunters.
They did respond to other stimula such as being in an open chamber and having the exit door clearly marked but moved consistently...