Cracking the mystery of how Artificial Intelligence works