Table of Contents using arrays (used each_with_index)