Added algorithm example