title: java inserting an element using listIterator
body: <p>I m building a graph coloring allocator for a toy programming language. While generating spill code sometimes i have to insert before the current instruction a load {for restoring} or an insert after the current instruction { for spilling }. My code is represented as a graph with a node for each basic block and an list of instructions within the block,</p>
  
  <p>I generate a dfs ordered list of graph nodes and for each node i traverse the instruction list within the node, 
  using codeList.listIterator() i can go back and forth via next and previous respectively and do an add for insert after and insert before.</p>
  
  <p>How should the insertion happen right at the beginning of the list using add() method?</p>