Efficient Data Structures and OOP Principles in Social Media Simulation