Create newcode.c

Created new code. Added simple adding functionality in the same.