Magneto retreated to the Savage Land and genetically altered the natives into the Savage Land Mutates , who worshiped him as The Creator. Here, he took the help of some of these natives to create a device that would permit him to channel energy to him. Investigating the supposed suicide of Sauron , the X-Men again stumbled upon Magneto's plans and, after Magneto revived the life of Angel, they destroyed his machines and citadel, seemingly killing him.  Magneto survived due to a strange radiation in the Savage Land, and upon his resurrection, the X-Men battled him again. Magneto destroyed the X-Mansion and defeated the X-Men, but a distress call was sent to the Avengers. After capturing the Avengers also, Magneto controlled both groups to kidnap scientists to create atomic devices that will create for him an army of mutants to command. The heroes were saved after Vision used his powers to take possession of Piper and knocked Magneto unconscious. 
If the code being trimmed is now a concise example of the problem, it is ready to present to others, if not, put the problem code back in and continue trimming other areas of the code until it is. Self Contained It is important to ensure that the code given to others can be 'copied, pasted, compiled, run' so that they can help quickly and with a minimum of fuss. This means that after the code has been copied, pasted and compiled by those helping, they can run it and see the results for themselves. It is the example of the problem.