my answers and specs of http://www.ie.u-ryukyu.ac.jp/~kono/software/s04/tutorial/