lattice works, fitness function implemented, output as svg