generalized some command-line arguments for r2f2u
added a new, quick to generate edge index