Added Java solution to binary decimal converter