In the middle of creating a C equivalent of 110 assignment 1