adding algorithm blocks pdf for discussion purposes