Elementary programming with C