Adding Function 3 - Creating A Main Menu

Creating a new JavaScript file for the main menu, so that then I can
code a main menu for the user to start or exit the game and enter
his/her name before playing.