Logic correction, code organization

If statements made clear and added comments, fixed a few arbitrary bugs.

TODO: Add logic to determine "score", check if same workout done
consecutively between two days (reorder array first?), color incorrect
square
backgrounds, add any other literature and equations to content.