Hanh Le - Add Algorithm class