Constraint programming for toy train tracks