Added Java file that finds the longer string and tests for this