Console - readInt

readInt will read an integer from the user via the browser prompt. readInt will reprompt the user for another input until it receives an integer.