Edited exercise 4 to be more intuitive
Fixed a backslash escape
Added Ex 4d
Further edited ex4
Added Exercise 5