implemetned and tested 10 steps of algorithm