Write a function called morseCode that encodes an English phrase into Morse code. The function should also convert a Morse code phrase into English. Use one blank between each Morse-coded letter and three blanks between each Morse-coded word. Pass the function the input string that needs to be encoded or decoded, and a flag that is set to to encode into Morse-code and is set to 1 to decode into English. Use pointers for all strings.