A Python exercise in creating a text-based adventure game