Added the getStringWords function and updated readme