Does the following picture give you any ideas?
A pretty standard example is this: the set of all rational numbers in (0, 1) is countable so can be "listed" . Map 0 to , 1 to , and for all rational numbers to . All irrational numbers in (0, 1) are mapped to themselves.