Working Implementation

Added length check. Cleaned up code. confirmed working with example on
160LED 5m strip.