Fixed and added

- Fixed exercise 4 (out of bounds error)
- Added exercise 7