HW3: Clean-up

Code clean-up in kernel that searches for min/max (global_find_min)