Created class with 3 algorithms