Added argv

Added argv to set min and max number, still needs to be debugged, but
is working.