Added method to send 2d arraylist