Implementing a Distributed Deep Learning Network over Spark