Added ERM-for-intervals code to repo, and the listing to the submission file.