Fixed #17 (Shape's intersection method)

Using the code from @asimov6. Added a test class, but problem with test
system persist.