Changed types access
Added const_iterator
print array content