Created my first function, unsure how it will translate to my flowchart as of now.