DMD (dot matrix display) library for Spark adapted from Arduino library