test for practice the algorithm