finished SelfMadeLinkedList program with possibility of input files and output files