Update Gbits.java

Working prototype.