he had learned to set explosives to blast away the sides of the mountains , other times he worked with the machinery , dump trucks with tyres three times his height , the huge trains that were miles long and hauled the ore down to the port and all the ships that queued up to load .