Learning to Program From Interactive Example Code (With and Without Intentional Bugs)