Update Utils.java

Maybe we could make methods for each type to determine the effectiveness, so that way the switch cases (or whatever else we use) will be a bit more organized?