make shootout-k-nucleotide.rs pass official test

Correct printing (sort, new lines), reading on stdin, s/i32/uint/
auto merge of #13206 : TeXitoi/rust/fix-shootout-k-nucleotide, r=cmr

Correct printing (sort, new lines), reading on stdin.