Please explain what the main method is supposed to do. Be specific and give details.

Please edit your post and wrap your code with code tags:


YOUR CODE HERE

to get highlighting and...