Exercises from 8 ~ 15. With some variations I made, like ex11a.rb