public void printlog(){
		ListIterator<TimeStampedMessage> itr = before.listIterator();
		if(itr.hasNext())
			System.out.printf("Messages->Current message\n");
		while(itr.hasNext()){
			TimeStampedMessage currentmessage = (TimeStampedMessage) itr.next();
			String data = (String) currentmessage.getData();
			System.out.printf("DATA: %s\n", data);
		}

		itr = concurrent.listIterator();
		if(itr.hasNext())
			System.out.printf("Messages (||) current message\n");
		while(itr.hasNext()){
			TimeStampedMessage currentmessage = (TimeStampedMessage) itr.next();
			String data = (String) currentmessage.getData();
			System.out.printf("DATA: %s\n", data);
		}

		itr = after.listIterator();
		if(itr.hasNext())
			System.out.printf("Current message->Messages\n");
		while(itr.hasNext()){
			TimeStampedMessage currentmessage = (TimeStampedMessage) itr.next();
			String data = (String) currentmessage.getData();
			System.out.printf("DATA: %s\n", data);
		}
		
		itr = equal.listIterator();
		if(itr.hasNext())
			System.out.printf("Current message=Messages\n");
		while(itr.hasNext()){
			TimeStampedMessage currentmessage = (TimeStampedMessage) itr.next();
			String data = (String) currentmessage.getData();
			System.out.printf("DATA: %s\n", data);
		}
		
		concurrent.clear();
		before.clear();
		after.clear();
		equal.clear();
	}