added functions to dig/place cubes

Nothing significant else.