a simple data structure and function library for c