Update rbtree.c

fix a bug in rbnode_new and rbnode_fnew. add three non-recursive traversal methods