Ruby C Extension LinkedList