Fixed logic for ExplodeOne mine

Got rid of the multiple if statements and substituted with for loops