Please explain how I can modify the following program so function mode is capable of handling a tie for the mode value and how to modify the function median so the two middle elements are averaged...