util: updated memoize to support functions that have dict as parameters
structural_balance : plots: updated readme