program randomly selects new number of bugs after patching one