Sudden Emergence of a Giantk-Core in a Random Graph