Going through various HackerRank challenges learning D.