The C code for my CS1541 Term Project