redo

talked with the professor and redid this with some test loops.
rewrote switch

to clarify operations, changed up the switch to allow conducting each part separately.
comments

added some comments, noticed that not including cout for the exponential loop makes it go quicker. also added timer.