Flashing Code

Implemented some basic flash code and an array to trace dragging