Random walk program for Django course that I am teaching