Containment Control of Multi-agent Systems by Exploiting the Control Inputs of Neighbors