Finding simple paths and cycles in graphs ∗ ( Extended Abstract )