a mast is used to move a ship through the water