finished Hackerrank-UtopianTree