Pseudo code for triangulation
Initial Triangulation function library