added method to print map during simulation and main updates