A numerical study of gravity-driven instability in strongly coupled dusty plasma. Part 1. Rayleigh–Taylor instability and buoyancy-driven instability