Scripting

Started new function. Created first loop. Copied instructions from our
discussion to the end of the script.