A Programmed Environment for the Experimental Analysis of Individual and Small Group Behaviour