Added logic to allow up to 5 attempts to enter an integer as well as correcting MPG comparison