added tools::pascaltriangle, unfinished