Change TeoriaInterval simple() and compound() methods to return a TeoriaInterval

Hey there!
I changed simple() and compound() to return TeoriaInterval objects. A few other places in the library still expected them to return strings as they used to, so I just added toString() to them. Also, I've basically swapped the contents of compound() and toString()
Let me know what you think :)