changed tuple.__len__ to be item.length; added some array prototypes __setitem__ and __getitem__ so that javascript arrays can be accessed the same as python arrays; added a self organising map example, som.py