when water is heated it generates steam which runs the engine