Added some solutions to programming problems (compressing a string and generating domain names).