added implementation of Bank class