Added basic autoencoder tree construction, some util functions, and a test function