add triangulation function

triangulation based on locations of three circles
added comments