Sorry about that. I have a class called Roach where I have two methods that are in charge of "doubling" (doubles the number of roaches in the population), and "spraying", (decreasing the size of the population by 10%). What I'm trying to is wait a couple of seconds before either doubling the population or spraying it to make it look more natural rather than just executing the methods right away.
Now, I don't know if there's a way to pause the game without using the while loop which essentially prevents other methods from executing in the same time (they wait for while loop to finish its thing first and then they execute, I guess).
Yes, you're right, I use the terminal as a way to debug my program, they're just temporarily there.

