Create string.js

Assignment 4.1. I think i made an error with turning this assignment in previously, possibly in the wrong directory.