Find the Min:
* ver 1. Doesn't work for the input at all. Completely confused