You may want to start by putting your code into the proper syntax, check above. I find it easier starting with a compiling IDE program like netbeans and going with the basics. Look at the tutorials...