flags homework