Fix up StringResponce.java

Stop using Math.random and replace with java.util.Random