added main()
Merge pull request #14 from wplu/master

added main()