Added solution to 2 coding problems: longest common prefix and printing numbers as string in order