Start of program 5

This is the start of program 4. It works if the first element is the
item, but if the first element is not the item then an exception is
thrown