A “piecewise-linear” method for triangulating 3-manifolds