Terahertz Oscillating Devices Based Upon the Intrinsic Josephson Junctions in a High Temperature Superconductor