added tests for rectangle class, fixed #contains and refactorings
Merge pull request #65 from wilkerlucio/tests_and_improvements_for_rectangle

added tests for rectangle class, fixed #contains and refactorings, problem with rectangle 'right' calculation