Added macros.cpp

macros.cpp contains my template which i use while programming