Fix Java Code so that it no longer throws warnings

Mainly turn every single ArrayList into ArrayList<String>
Merge pull request #8 from pbhandari/master

Make test.sh more robust
Remove redundant conditional on Alphabet#size
Merge pull request #9 from pbhandari/crypto/java/hotfix

Fix Java Code so that it no longer throws warnings