prevent console from closing

Added line to prevent console from closing when first example is run