rollback
added lottery.c
fixed errors