Daily coding challenge from Reddit.com/r/dailyprogrammer