Initial .md commit

Improved substitute function to pass all tests
Added answers to written questions