Completed Problem 53 and modified Combination function