solutions to the problems presented on /r/dailyprogrammer