Update BabylonianAlgorithm.java

Created an error checking condition that user must input a positive number.