printf correctly
Merge pull request #11 from ethomson/printf

printf correctly