Generate countries table