Added endRun to interpreter. Handled event when loop statement list is empty