Created classes for important algorithms