Trying to build a Morse decoder(Help!)

Trying to build a Morse decoder(Help!):

#arduino