How to Build Self-Conscious Artificial Intelligence