add swapcase and number addition ruby