Gang member convicted of killing friend and fellow gang member