FreeLing 3.1 Code Adaptation

Practically I have only changed List data structures and changed the way of iterating over them