Create table_of_contents.rb

A simple project to help me learn how to utalize arrays and hash-maps in ruby.