we can reserve seats in a coach of three when one seat is available
code refactored to handle 3 seats in 1-coach train