implement algorithms  in <programming peals>