Added solution files

For ex 2, 3, draft for ex 4, and pseucode for ex 5.