locomotive boiler definition parts working principle