Title: Imperative to Functional Programming Principles