Add ex5.c basics