Refactor Lottery class

- Dùng fakefs gem để test File System.
- Sửa class Lottery