added output function
Merge branch 'master' of github.com:loghina/GoogleChallenge