@Override//toString method that prints the whole array
    public String toString () 
    {
        String message = "";
        for (int index = 0; index < data.length; index++){
		message = message +  data[index] + " ";
        }
	return message;
     }