added hints to logic problems