Added other example (intentional assignment of an atom in the pattern). Minor refactoring.