tools::writeToFile now works
delegated triangle function to tools::triangle
added probe.cxx as testing program
added some testing