Finished triangular_lattice generator