moved 'writing and running lua code' to start of chapter 3