Create getNextBinaryNum.java