Filter Update of binaryFractionMain.java

This edit includes a simple do-while loop and a Scanner object that check for appropriate input.