with stl library.
revised but not complete ver
draw option is revised.
the way of output is revised
output format is revised.