Adding an alarm function

I added an alarm function that will run when the submit form is
entered. Since I have the function now I can work on turning it into an
actual alarm vs an alert window.