Corrected formatting and removed bug in array initialization (for graphs).