HackerRank Day 8: Buttons Container problem solution - TheCScience