Design and simulation of a cockroach-like hexapod robot