Well, with pokemon being able to be stored in computers and all... I'm inclined to think Porygon and Porygon 2 are more than computer code as we know it. The pokedex says they were designed by humans, but it seems to me that they've developed minds of their own.