printing hash groups