4,angeluc2,added comments to exercise java functions