Python Implementation of Dorm Seating generator