Merge pull request #2 from artella-coding/master

Updating Shen.java to work with Shen11 : Attempt 2
Merge pull request #3 from artella-coding/master

Improving error reporting regarding stackoverflows and making easier running on 32 bit systems
Minor cleanup for IntelliJ. Removing extra exception in favour of null check