wrote some practice lines of code that work in the shell and a basic function