lottery draw OO design