Magnetism of Low-dimensional Systems: Theory