a sequence of python files done according to liaoxuefeng's python tutorial