public static void search(ModuleSearchServer server, int input) throws RemoteException {
    ArrayList<String> modList = new ArrayList<String>(server.getModuleList(input));
    String modTitle = null;
    String modLecturer = null;

    for(int i = 0; i < modList.size(); i++) {
      modTitle = server.getTitle(modList.get(i));
      modLecturer = server.getLecturer(modTitle);
      System.out.println(modList.get(i) + ": " + modTitle + " <" + modLecturer + ">");
    }
  }