Changed to use of List, and added method PrintAccountList