Add refactored solution fordom-exercises/traffic-lights