Vocabulary Chain Transformation - Coding problem | OneNoughtOne