Assignment 3 and 4

Fixing Assignment 3 and uploading Assignment 4 
You can also write this as text[index], personally I think it's a little cleaner and quicker.