Commented code

This was the final code our team used. The project was not finished on
time. We had a few power issues and timing issues to still overcome, but
the code worked well. I have commented it so that anyone can follow the
intended purpose of the code.