assignment 1 --- 2nd commit

getMin() working, still some test code with unneeded outputs