Write a class DataStore which stores a two-dimensional grid of
binary digits (bits). Its constructor should take two integers, width and
height as parameters, and create a grid of that size. The grid should be
initialised randomly with ones and zeros. It should have a toString
method which returns a representation of the grid appropriately for
displaying on the screen via a System.out.println() statement.
i.e. The following test code:
DataStore d = new DataStore(5,5);
System.out.println(d);
might display something a little like this:
0 1 1 1 0
1 0 0 0 1
1 0 1 0 1
1 0 0 0 1
0 1 1 1 0
Hints:
 A two-dimensional array is a good choice for representing two
dimensional data such as this.
 Think carefully about how to represent each bit in the grid. The
strings \Black" and \White", or the integers 0 and 1 would work,
but there are more ecient ways which use less memory.
 Java provides a method Math.random(), which returns a random
real number between 0 and 1. How might this be used to generate
random bits?