The free energy principle made simpler but not too simple