Added java implementation similar to c# implementation and fixed bugs in the c# impl.
Merge branch 'master' of https://github.com/penguinmenac3/universal-hackathon-api