Direct sum of rings