Adj matrix with ring graph appears to work