I wrote java code to create different kinds of flags with different sizes and colors in

public static void drawFlag(MyGrid grid, int countryCode).

Nevertheless there is alot of color overlapping. Can you please help me with writing additional methods with private & static as specified in the assignment to eliminate duplicative code? Thank you so much!