Taking Input In Java Array