Learn to code by example