Langton's ant in python