Changed it so links are added to an array. Need to change to hashmap in the future.  Just testing things out.