updated find_max
took out locale printing

-find max and sort both work again