created the higher and lower classes for lab 3