Solving questions from /r/dailyprogrammer