added if else for the argv input to select random number