How Does Math.random Work In Java