Wrote new overloaded ComposeRecord for int and double. changed the Sum::Operation to use these new overloaded functions and reduce the code.