Update init.el

changes include a new looped function maker for favorites