MIdtermV1.01

Cleaned up code, removed variables,  and removed move instructions.
Decreased line count at the (slight) expense of readability.