Made the program re-runnable.
Added comments