algorithm smaples