Adding a few things to the java code

multiple dice; ball won't go off the grid; worked a little bit on
ironing out the distance of the grids;