Information and the Nature of Reality: From Physics to Metaphysics