fixed a minor bug in 'ArrayList' - collections/arraylist.coffee