added a return value

since the a min function is int main(void), you need an actual return
value. Return 0 works as a good 'null' value