Text this: Unsupervised Learning of Digit Recognition Using Spike-Timing-Dependent Plasticity