avl, move bfs to avl.c and rename kuan_array