A simple todo application in C