The program Generates initial configuration of a given HP sequence and has the following specifications:
-
Applies the moves to generate new structures (# of iterations are taken as input).
-
Outputs the most stable configuration along with its score.
-
Sample sequences are below: a. HHHHHHHHPPPPPPPPPPPPPP b. HPHPHPHPHPHPHPHPHPHPH c. HPPPHHHPPPHHHPPPHHHPP