Committing first problem on HackerRank