Construct Optimal Binary Search Tree by Using Greedy Algorithm