Text this: Numerical studies of spin chains and cold atoms in optical lattices