Exercise 7, 8, 9, 10 and 11.

- Learned that using print instead of puts doesn't add new line character. Puts adds a new line automatically.