Added setBlock methods to Vec
Added replace method to cube.class