getting ready for collisions

added list.js for a linked list should the array be a problem