code: public static List<Match> searchPlain(Model model, Pattern pattern)
  	{
  		List<Match> list = new LinkedList<Match>();
  
  		Map<BioPAXElement, List<Match>> map = search(model, pattern);
  		for (List<Match> matches : map.values())
  		{
  			list.addAll(matches);
  		}
  		return list;
  	}
docs: Searches the pattern in a given model, but instead of a match map, returns all matches in a
  list.
  @param model model to search in
  @param pattern pattern to search for
  @return matching results