added while loop to case b

allows user to input a value for time and epsilon.
Then runs until absolute value of epsilon is greater than voltage