Modified simulate method for return Map

simulate method returns a map of double[][] for the GUI.
Also moved print result method to abstract class as it always
print a 2 dimensional array.