fixing problem with mut and ownership

thanks to #rust
Merge branch 'master' of github.com:yaon/lottery