NiCE Interview Question

Design a locomotive train.