How to code 5 Digit Binary Adder?

I have not.. however i have looked at how to turn on LEDs etc etc but I dont know the actual adding process