Added array function.
Fixed flowchart pdf.