A combinatorial approach to 3-manifolds