cavern.py

finally got it.