Alantrivandrum_CS1013-data-and-visualisation-project/lab_1_project_/Id.pde
class ID{ 
  String currentId;
  String currentStory;
  
  String idSearch (String idInput, ArrayList<String> idArray, JSONObject json ){
  for (int i=0; i < idArray.size(); i++)
  {
      currentId = idArray.get(i);
      if (currentId == idInput)
      {
        currentStory = json.getString("Story");
       
      }
    }  
    return currentStory; 
  }
  }
