Implemented the method createAccount in InMemoryDataStore