Added function to determine if a number is even or odd. Added command document.write to display on browser. Can also use console.log to display in console.