Implemented an exceptions class for every kind of error.
Merge pull request #25 from itiboi/feature/exceptions

Implemented exceptions.