Looking for creative ways to improve code efficiency? Sometimes it's better to use binary logic with a high-level language such as Java. Here's how.