solutions to code golf problems