Add solution to HackerRank Language challenge.