You must first establish a civilization with a custom flag before going to the custom flags folder (which is, I believe, in the main game folder, but I can't remember for sure). Two png files, one with a larger image and one with a smaller one, need editing. That's it; the new flag will appear in your game when you restart it.