Fifty countries voted in elections in 2024 - a year that also brought extreme global weather events, continued fighting in Ukraine and the Middle East, and rioting across the UK.