program now takes in multiple commands befoer exiting when prompted to do so. (may still be buggy)