Lottery game used for a c programming assignment