Final commented versions of Calculator and TrafficLight