Fixed drawing of empty blocks, added pseudocode for rotation