Reset Functionality

Added reset functionality to the system. Upon finishing a program the
system resets the memory, registers, and "variables" array to the
initial conditions.