public static void Test()
        {
            Solution s = new Solution();

            //Console.WriteLine(s.NumPoints());

            //[[1,3,5],[6,7,12],[11,14,14]]
            //4
            Console.WriteLine(s.KthSmallest(new int[][]
            {
                new [] { 1, 3, 5 },
                new [] { 6, 7, 12 },
                new [] { 11, 14, 14 },
            },
                                            4
                                            //2
                                            ));



            Console.WriteLine(s.KthSmallest(new int[][]
            {
                new [] { -5 },
            },
                                            //8
                                            1
                                            ));


            Console.WriteLine(s.KthSmallest(new int[][]
            {
                new [] { 1, 5, 9 },
                new [] { 10, 11, 13 },
                new [] { 12, 13, 15 },
            },
                                            8
                                            //2
                                            ));
        }