created new program to run directly from text files
completed dummy code for 171 comparison and simplified max comparison
edited crestarray values for end cases