Added functionality to draw splits. They don't actually do anything yet
Able to draw splits and then split the polygons
Can now triangulate each polygon part
Added browser compatibility (lack of console.log and console.assert)