Change input entry from using arrays to using argv
Delete array for input code