A Universe in Our Brain: Carnot’s Engine and Maxwell’s Demon