Solution to "Generate String from Regex": https://www.hackerrank.com/contests/codesprint5/challenges/regex-to-string-fp