Working through Think Python