start writing file to combine r and c

modify some file path in preprocess
change data structure in relatedness
(from a dictionary to list to make sure the order is preserved)