program to find biggest number and smallest number in the list