The author of The Martian offers three critical steps for new writers