Optimal Seating Arrangement Algorithm Steps