modified classes
added plot.sh used to plot the preferences index of people