Moved all the input files to a seperate directory

Als refactored reading the input files.
Added IntSortedSet
Merge remote-tracking branch 'origin'