maxfrequency update

can read a file and read the lines and search for highest value in 2nd
row