Add MemoryBlock, MemoryProtectionError, MemorySizeError. Update MemoryManager.