Refactor Lottery class
Merge pull request #2 from checkraiser/task1

Refactor Lottery class