Understanding Barium Electron Configuration: A Detailed Breakdown