Accessing Arrays in Ruby

Syntax rules for accessing elements of an array.