Updated test cases, 'sum', and 'product' functions

//Added helper functions to sum and product to aid in tail recursion
//Updated main with simple test case for sum and product functions