fix preprocess bug
fix function return value bug, add graph and directed graph structure in compiler's part