array minimum problem