finished binarynumgenerator.java

added the if/else statements