ArrayList and Edges