created country method to create population pyramid