enumerate.loops function

Enumerates all Loops in a (-1, 0, 1) Matrix