Create tableofcontents_revisited.rb

Table of contents using array method.