initial koch curve implementation