Provide a tunable Java implementation of consensus generation

Using the latest consensus method, provide a tunable Java implementation for generating consensuses from votes.