An exercise in learning Python and MonkeyRunner