Final Update

All code is fully commented, along with additional functions added (these are used to replace the turning on and off of the led lights, makes code more efficient and simpler to read).