Revert "Revert "Contact.java, ContactList.java and their test programs compile and run.""

This reverts commit 9a73ca567a008e274dc7f2b861d27bbdca0791e4.