Mother who admitted to killing young son gets life in prison