Added a limiting factor for guesses
Used argv to give user control over perameters.
Used argv to give user control over perameters