Add Index and hide options in the main menu

    * Add an Index class to avoid duplicated code (heapsort)
    * If .dat are missing the options 2 and 3 of the main menu
      will no show.
    * Add authors names and the MIT license.