Update Loan.java

inherits from Serializable so that the loans can be saved in memory