An Agent-based Model of the Interbank Market: Reserve and Capital Adequacy Requirements