a
is the array of records to be traversed
traverse(a)