Work on finding maximum value in input.