Messing around with C and Ubuntu