Synthesis of a structure containing three N-fused heterocycles with very high bond-forming through a one-pot reaction