C assignment for Lighthouse Labs prep course