Utility methods for bitboards manipulation in java