added loop_builder.py and get_best_structure.pl