Added toMorse and fromMorse