Roberto Grena algorithm implementation in java language using the fork-join framework