added solutuions for macro exercises, printing debug info in db module