Implemented operator[] for const arrays