what is a locomotive train