Java Program to open the command prompt and insert