Fix typo in print_token

Also remove comments and fix whitespace