How To Take User Input In Arraylist In Java Using For Loop