Update IdealBodyWeight.java

Loop added to read info from database file.