Add dragon curve implementation