Java implementation of the Tron whitepaper