How A Diesel Locomotive Works