Wrote create_message and its unit test.
Passes unit test and also works in the console.