ch 4 - book matrix lib and basic animation timer