start of work on realizing an interactive version of prim, analogous
to the R version of the scenario discovery toolkit.