Monson Loop recommit

Cannot figure out how to condense code for green diagonals. Also, can't
get ors to work in pink and blue lines. Maybe use a switch?