added main method
Merge pull request #3 from kylelin47/main

added main method