A nice solution to the missing integer to a list.  Runs in O(n) time.