K Core Decomposition working version