practice some popular algorithms