solutions to /r/dailyprogrammer challenges