using java code to find max multiplication in a list