created Block, keep indices for solid and wire
added range check
added randColor function
accumulate blocks, collision detection in blocks