public class Chemical
{
    // these are special.

    public static final String ORE = "ORE";
    public static final String FUEL = "FUEL";

    public Chemical (String name)
    {
        _name = name.trim();
    }

    public final String getName ()
    {
        return _name;
    }

    @Override
    public int hashCode()
    {
        return super.hashCode();
    }

    @Override
    public String toString ()
    {
        return _name;
    }

    @Override
    public boolean equals (Object obj)
    {
        if (obj == null)
            return false;

        if (obj instanceof Chemical)
        {
            Chemical temp = (Chemical) obj;

            return (temp._name.equals(_name));
        }

        return false;
    }

    private String _name;
}
@@ -273,32 +273,336 @@
 n _name;%0A    %7D%0A%0A
+    public final boolean isOre ()%0A    %7B%0A        if (_name.equals(Chemical.ORE))%0A            return true;%0A        else%0A            return false;%0A    %7D%0A%0A    public final boolean isFuel ()%0A    %7B%0A        if (_name.equals(Chemical.FUEL))%0A            return true;%0A        else%0A            return false;%0A    %7D%0A%0A
     @Override%0A  

Update Chemical.java