adding kcore algorithm, simple test - test looks buggy