https://devhubby.com/thread/how-to-sum-a-range-of-numbers-in-rust