Second commit. Functionality in terms of drawing is 90% complete. Inner loops open on one end still need to be added. Also a solution is needed for inner loops with no open ends: draw nothing or draw a closed loop?