// Write encode(str, shift): shift every LETTER in str forward by shift
// places in the alphabet, wrapping around from z to a. Preserve case,
// and leave anything that is not a letter (spaces, punctuation) untouched.
function encode(str, shift) {
}