a small language game in python