changed arrays to constant length that increases each time the user presses the button to add locations for induction purposes