Completed first draft of createFromArray, testing doesn't work due to issue #49