deleted walls

changed blocks to block, changed various functions