Graph drawing from array woes. (SOLVED)