First commit from Martyn

Hi Peter,

This is Martyn, Fernand's RA who is working on the CHREST Netlogo extension. There's quite a bit here and I don't think all of it is required to be merged, only the stuff in the top level "netlogo" folderis relevant.  This folder contains the current Netlogo extension code I've been working on.