Haskell solution to "Transcribing DNA into RNA" problem