HackerRank Java Int to String problem solution - TheCScience