code: public static List<Match> search(BioPAXElement ele, Pattern pattern)
  	{
  		assert pattern.getStartingClass().isAssignableFrom(ele.getModelInterface());
  
  		Match m = new Match(pattern.size());
  		m.set(ele, 0);
  		return search(m, pattern);
  	}
docs: Searches the pattern starting from the given element.
  @param ele element to start from
  @param pattern pattern to search
  @return matching results