How Does Math.random Work