implementing boolean equals(Object) on CraftRecipe, to compare between them.