chandan's submission of Subarray GCD | CodeChef