Revising spacing on sample35

Also removing repetition, tightening things up.
Merge pull request #640 from shoes/revise_sample35

Fixes for samples/sample35.rb