Flower garden solution

Final solution to the flower garden problem