add the main files of algorithm