How are the elements in the modern periodic table arranged?