Simple organiser written in C