this is a first set of learning exercises for rust,
the list drawn from
https://www.java67.com/2018/04/21-string-programming-and-coding-interview-questions-answers.html
keep in mind exercies #16 is missing, and #17 is a string primitive in rust, so they will be skipped