fixed bug in split.lua (exercise 21.1)
solved exercise 21.2
solved exercise 21.3