Finished up a few sections

Close but still have to finish the functions and return data. Also have
other parts of the flowchart and return to main when needed.