traversal code for g2->g1
ring generation functions
comment output
plotting Justin's output