Finished lottery mode functions
.updated gitignnore file
Finished all system calls