Refactoring
Added edge label permutation
Cleanup