added prompt function

Prompt for user input with optional message.
Returns a string.

Example:
var ask = console.prompt("Whatsup ?");
var name = console.prompt("Please enter your name:");