Developing a Python program to resolve socially complex seating plans.