Update maindice.java

// Please overide toString to print values form array