added solutiont to leetcode_121