Java Find Maximum Value In Array Python Methods String