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