Toy database project in C