set all memory locations to 0 at start, and added instructions to execute stage