There are a few problems with your script.... I fixed them below and posted a working copy. Also, I added a couple of "print" lines.
Just an FYI: Anytime you write a script, try to use "verify SCRIPTNAME" and fix all you can, if you get stuck, ask for help...
void main (string sender, string...