KRList in C - Implementation of basic List in C with Memory Management (inspired by LinkedList from Java)