def reversed_edges(path):
    """
    Returns an list with edges reversed. e.g. [(1, 2), (2, 3)] returns
    [(2, 1), (3, 2)]. Used to check directionality of edges
    
    Args:
        path - a path, as a sequence of edges
        
    Returns: An list of reversed edges.
    """
    
    # Reversed initialization
    reversed_edges = []
    
    # Loop
    for edge in path:
        reversed_edges.append(edge[::-1])
        
    return reversed_edges