python TDD bowling game exercise