new constructor and fixes
new type of constructor:
var a = Armap();
create array object and extend it with armap methods.
and old one:
var a = new Armap
would create Armap object which inherit and extend Array prototype.
new type of constructor:
var a = Armap();
create array object and extend it with armap methods.
and old one:
var a = new Armap
would create Armap object which inherit and extend Array prototype.