HW5 Random numbers, structs, files, and system