Some small Project-C programming