Finding missing number recursively