Sundar becomes third Indian centurion on final day