multiple inheritance execise