created my first function in javascript
initial commit using alert/prompt/confirm