public Chunk(int position,T[] lines){
  this.position=position;
  this.lines=Arrays.asList(lines);
}

public Chunk ( int position , T [ ] lines ) { this . position = position ; this . lines = Arrays . asList ( lines ) ; }
creates a chunk and saves a copy of affected lines
