created an accountFactory
An account object is returned based on the type of account that is passed when the account is passed as a parameter
Main class created to execute objects at run time based on the type