deleting in up and down

Still working on the script. Will now try to debug and see why it is
not deleting the right cubes.
Deleting cubes up and down

Could not get the cubes to delete properly, Maybe its a timing issue as
the resolution is triggered before all the cubes of the row are placed.