wrote and passed a test for booking seats in rows