CitationRec Java Code