Updated randomInRange function. It's not loading into CodePen for some reason