Started with parsing the input string into the array of strings