Understanding how functions and closures work in rust-lang

Rust programs can be written with functions and closures that simplify the code and enable composing programs that are functional in nature, in this chapter we will learn more about how.