SVG output is almost done.

Current problem is that my code did not consider negative coordinate.
Thus, boundary detection is not correct.