simple accounting software written in C