Algorithms for numerical computation. Author: LuXu(Oliver Lew) email: oliver_lew@outlook.com just an exercise