Make a structured decision with a weighted matrix and reversal test
initial version — by wikipromptly