added in code to validate that the user entered a value for each prompt.  if a variable is empty it will alert user to refresh the page and start over