The ex-boyfriend of Mackenzie Anderson has admitted he killed her inside her Newcastle home.