Compact 3-manifolds via 4-colored graphs