algo code review and hw contest
algo hw10 timus 1449