Digital clock implemented