Added System.exit() function.

Added System.exit() function.