Added Main Method

I added the main method to this program.