add a new solution with directions array