Base number storing is done. Add algorithm is wrong.