rust - word-count exercise