_(：3 」∠ )_

It seems that the program should calculate the functions according to
user's input, so most part of the test program and all the toString
methods are rewritten.