A Lots of changes, inlucding triangluation part, save and read file