C project code from first year