Not familiar enough with python yet, but added a Java version!
Merge pull request #1 from posmicanomaly/master

Not familiar enough with python yet, but added a Java version!