how to add rational numbers?