Solution to Problem 4.1-2
Solution to Problem 4.1-5: This problem indicates that we need to develop one more time to find the relationship of algorithm.
Fix some debug informations.