Array search efficiency improvements

"Teacher" class now includes all teachers who have that last name. A
HashMap checks the last name to see if any teachers share it.