Teenager pleads guilty to murder, gets 30 years in prison