HackerRank Day 27: Testing problem solution - TheCScience