Added the BlockType enum and ghost shape