add notes.c and update readme