fixed comments
implemented array element assignment
added feature to map array indices to start with 1 by default