Function, loop, and list practice

Two separate programs for practice