Change program exits to exceptions
There's a couple of places in the code (primarily for the simulations) where we have exit() statements. I think we should change these to custom exceptions instead.
There's a couple of places in the code (primarily for the simulations) where we have exit() statements. I think we should change these to custom exceptions instead.