added an abstract method think() in TrafficEntity