Exercises maked from site http://web-ext.u-aizu.ac.jp/course/alg1/ex/uk/ex01/.