Added some ui functionality.
Implemented algorithm that performs initial triangulation.